﻿using SdmxMl.Common;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;


namespace bfs.sms.sdmx.util
{
    public partial class DlgUnfinalizedArtefacts : Form
    {
        public DlgUnfinalizedArtefacts(IList<Artefact> artefactList)
        {
            InitializeComponent();

            StringBuilder sb = new StringBuilder();
            foreach (Artefact ar in artefactList)
            {
                sb.Append(ar.ToString()).Append(Environment.NewLine);
                textBox1.Text = sb.ToString();
            }
        }

        private void buttonContinue_Click(object sender, EventArgs e)
        {
            DialogResult = System.Windows.Forms.DialogResult.OK;
        }
    }
}
